package main

import (
	"fmt"
)

func main() {

	InitDb("root", "595595", "127.0.0.1:3306", "living")
	user := &user{
		Password: "111",
		Username: "222",
	}
	Query(user, "select password,username from user limit 1")
	fmt.Println(user)
	CloseDb()
}

type user struct {
	Password string
	Username string
}
